﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HotelResSystem2
{
    public class Reservation
    {
        private Guest primaryGuest = new Guest();
        private string reservationID = "";

        public Guest PrimaryGuest
        {
            get { return primaryGuest; }
            set { primaryGuest = value; }
        }


        public string ResID
        {
            get { return reservationID; }
            set { reservationID = value; }
        }

        public int RoomNumber
        {
            get;
            set;
        }

        public DateTime CheckInDate
        {
            get;
            set;
        }

        public DateTime CheckOutDate
        {
            get;
            set;
        }

        public RoomRate RateType
        {
            get;
            set;
        }

        public int NumberOfDays
        {
            get;
            set;
        }

        public int NumberOfAdults
        {
            get;
            set;
        }

        public int NumberOfChildren
        {
            get;
            set;
        }

        public double NightlyRate
        {
            get;
            set;
        }

        public Discount Discount
        {
            get;
            set;
        }
    }
}
